package com.dailyblue.java.standard.design.工厂模式.工厂方法模式;

public class App {
    public static void main(String[] args) {
        IPhoneFactory iPhoneFactory = new IPhoneFactory();
        Phone p1 = iPhoneFactory.makePhone();
        p1.show();

        VivoFactory vivoFactory = new VivoFactory();
        Phone p2 = vivoFactory.makePhone();
        p2.show();
    }
}
